package com.ruoyi.backend.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单款项对象 t_order_stage
 * 
 * @author wjr
 * @date 2025-09-23
 */
public class OrderStage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 阶段ID */
    private Integer id;

    /** 订单id */
    @Excel(name = "订单id")
    private Integer orderId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Integer shopId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String shopName;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Integer customerId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 负责人id */
    @Excel(name = "负责人id")
    private Integer chargeId;

    /** 负责人名称 */
    @Excel(name = "负责人名称")
    private String chargeName;

    /** 收款名称 */
    @Excel(name = "收款名称")
    private String receiveName;

    /** 收款描述 */
    @Excel(name = "收款描述")
    private String receiveInfo;

    /** 完成图片 */
    @Excel(name = "完成图片")
    private String completePhoto;

    /** 费用 */
    @Excel(name = "费用")
    private BigDecimal stageAmount;

    /** 客户付款凭证 */
    @Excel(name = "客户付款凭证")
    private String paymentVoucher;

    /** 收款状态：1=店铺发起，2=店铺收款（已收款） */
    @Excel(name = "收款状态：1=店铺发起，2=店铺收款", readConverterExp = "已=收款")
    private Integer receiveStatus;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setOrderId(Integer orderId) 
    {
        this.orderId = orderId;
    }

    public Integer getOrderId() 
    {
        return orderId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public void setShopId(Integer shopId)
    {
        this.shopId = shopId;
    }

    public Integer getShopId() 
    {
        return shopId;
    }

    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }

    public void setCustomerId(Integer customerId) 
    {
        this.customerId = customerId;
    }

    public Integer getCustomerId() 
    {
        return customerId;
    }

    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }

    public void setChargeId(Integer chargeId) 
    {
        this.chargeId = chargeId;
    }

    public Integer getChargeId() 
    {
        return chargeId;
    }

    public void setChargeName(String chargeName) 
    {
        this.chargeName = chargeName;
    }

    public String getChargeName() 
    {
        return chargeName;
    }

    public void setReceiveName(String receiveName) 
    {
        this.receiveName = receiveName;
    }

    public String getReceiveName() 
    {
        return receiveName;
    }

    public void setReceiveInfo(String receiveInfo) 
    {
        this.receiveInfo = receiveInfo;
    }

    public String getReceiveInfo() 
    {
        return receiveInfo;
    }

    public void setCompletePhoto(String completePhoto) 
    {
        this.completePhoto = completePhoto;
    }

    public String getCompletePhoto() 
    {
        return completePhoto;
    }

    public void setStageAmount(BigDecimal stageAmount) 
    {
        this.stageAmount = stageAmount;
    }

    public BigDecimal getStageAmount() 
    {
        return stageAmount;
    }

    public void setPaymentVoucher(String paymentVoucher) 
    {
        this.paymentVoucher = paymentVoucher;
    }

    public String getPaymentVoucher() 
    {
        return paymentVoucher;
    }

    public void setReceiveStatus(Integer receiveStatus) 
    {
        this.receiveStatus = receiveStatus;
    }

    public Integer getReceiveStatus() 
    {
        return receiveStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("taskName", getTaskName())
            .append("shopId", getShopId())
            .append("shopName", getShopName())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("chargeId", getChargeId())
            .append("chargeName", getChargeName())
            .append("receiveName", getReceiveName())
            .append("receiveInfo", getReceiveInfo())
            .append("completePhoto", getCompletePhoto())
            .append("stageAmount", getStageAmount())
            .append("paymentVoucher", getPaymentVoucher())
            .append("receiveStatus", getReceiveStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
